package com.lsyw.intergrate.serviceImpl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lsyw.intergrate.entity.TransportTask;
import com.lsyw.intergrate.mapper.TransportTaskMapper;
import com.lsyw.intergrate.service.TransportTaskService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 运输任务 服务实现类
 * </p>
 *
 * @author 刘磊
 * @since 2023-11-28
 */
@Service
public class TransportTaskServiceImpl extends ServiceImpl<TransportTaskMapper, TransportTask> implements TransportTaskService {

   @Autowired
   private TransportTaskMapper transportTaskMapper;

    @Override
    public IPage<TransportTask> pageList(Page<TransportTask> page, Map<String, Object> condition){
        return this.transportTaskMapper.pageList(page, condition);
    }

    @Override
    public IPage<TransportTask> pageAppList(Page<TransportTask> page, Map<String, Object> condition) {
        return this.transportTaskMapper.pageAppList(page, condition);
    }
}
